<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta name="viewport" id="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no"/>
<link href="/static/webAPP/css/reset.css" rel="stylesheet" type="text/css">
<link href="/static/webAPP/css/index.css" rel="stylesheet" type="text/css">
</head>
<style>
	.special-sale-box3{
		min-height: 160px;
	}
</style>
<body>
<div class="near-box">
      <!--头部开始-->
	  <div class="yx-index-top">
	  	<a href="/static/webAPP/machineplace.html" class="index-top-box1">
			   <!-- <a href="./machineplace.html"></a> -->
	  	 	<span class="index-top-img1"><img src="/static/webAPP/images/scan.png" alt=""></span>
	  	 	<span class="index-top-text1">地址</span>
		</a>
	  	 <div class="index-top-box2">
	  	 	 <!-- <span class="fresh-toptext1">合肥富禾</span>
	  	 	 <span class="fresh-topimg1"></span> -->
	  	 </div>
	  	 <a href="/static/webAPP/search.html" class="index-top-box1">
	  	 	<span class="index-top-img1"><img src="/static/webAPP/images/search3.png" alt=""></span>
	  	 	<span class="index-top-text1">搜索</span>
	  	 </a>
	  </div>
	  <!--头部结束-->
      <div class="index-bigbox">
		  <!--轮播开始-->
		  <div id="slideBox" class="slideBox">
			<div class="bd" id="bd">
				<ul>
					<li>
						<a class="pic" href="#"><img src="/static/webAPP/del/banner-img2.jpg"/></a>
					</li>
					<li>
						<a class="pic" href="#"><img src="/static/webAPP/del/banner-img2.jpg"/></a>
					</li>
					<li>
						<a class="pic" href="#"><img src="/static/webAPP/del/banner-img2.jpg"/></a>
					</li>
					<li>
						<a class="pic" href="#"><img src="/static/webAPP/del/banner-img3.jpg"/></a>
					</li>
				</ul>
			</div>
			<div class="hd">
				<ul></ul>
			</div>
		  </div>
		  <!--轮播开始-->
		  <!--分类导航开始-->
          <div class="classify-menu">
          	  <a href="/static/webAPP/discounts.html?discounts=23&discountsName=生鲜水果" class="classify-menu-box1">
          	  	 <span class="classify-menu-img1"><img src="/static/webAPP/images//shuiguo.png" alt=""></span>
          	  	 <span class="classify-menu-text1">生鲜水果</span>
          	  </a>
          	  <a href="/static/webAPP/discounts.html?discounts=7&discountsName=冷冻食品" class="classify-menu-box1">
          	  	 <span class="classify-menu-img1 img-color2"><img src="/static/webAPP/images/lengdong.png" alt=""></span>
          	  	 <span class="classify-menu-text1">冷冻食品</span>
          	  </a>
          	  <a href="/static/webAPP/discounts.html?discounts=4&discountsName=海鲜水产" class="classify-menu-box1">
          	  	 <span class="classify-menu-img1 img-color3"><img src="/static/webAPP/images/haixian.png" alt=""></span>
          	  	 <span class="classify-menu-text1">海鲜水产</span>
          	  </a>
          	  <a href="/static/webAPP/discounts.html?discounts=8&discountsName=粮油食品" class="classify-menu-box1">
          	  	 <span class="classify-menu-img1 img-color4"><img src="/static/webAPP/images/mi.png" alt=""></span>
          	  	 <span class="classify-menu-text1">粮油食品</span>
				</a>
				<a href="/static/webAPP/discounts.html?discounts=9&discountsName=肉禽蛋奶" class="classify-menu-box1">
					<span class="classify-menu-img1 img-color5"><img src="/static/webAPP/images/rou.png" alt=""></span>
					<span class="classify-menu-text1">肉禽蛋奶</span>
			   </a>
          </div>
		  <!--分类导航结束-->
		  <!--品牌特卖开始-->
		  <!-- <div class="brand-box1">
		  	  <span class="brand-text1">品牌特卖</span>
		  	  <span class="brand-img1"></span>
		  </div>
		  <div class="special-sale-box1">
		  	 <span class="special-sale-box2"><img src="./del/special-sale-img3.jpg" alt=""></span>
		  	 <span class="special-sale-box2"><img src="./del/special-sale-img1.jpg" alt=""></span>
		  	 <span class="special-sale-box2"><img src="./del/special-sale-img4.jpg" alt=""></span>
		  </div> -->
		  <!--品牌特卖结束-->
		  <!--优选水果开始-->
		  <a href="/static/webAPP/labelIdgoods.html?labelIdgoods=9" class="brand-box1">
		  	  <span class="brand-text1">聚划算</span>
		  	  <span class="brand-img1"></span>
		  </a>
		  <div class="special-sale-banner">
		  	 <img src="/static/webAPP/del/optimization-img1.jpg" alt="">
		  </div>
		  <div class="special-sale-box3 jvhuasuan_info1">
			正在加载
		  </div>
		  <!--优选水果结束-->
		  <!--酒水饮料开始-->
		  <a href="/static/webAPP/labelIdgoods.html?labelIdgoods=2" class="brand-box1">
		  	  <span class="brand-text1">时令</span>
		  	  <span class="brand-img1"></span>
		  </a>
		  <div class="special-sale-banner">
		  	 <img src="/static/webAPP/del/optimization-img2.jpg" alt="">
		  </div>
		  <div class="special-sale-box3 jvhuasuan_info2">
			正在加载
		  </div>
		  <!--酒水饮料结束-->
		  <!--休闲零食开始-->
		  <a href="/static/webAPP/labelIdgoods.html?labelIdgoods=4" class="brand-box1">
		  	  <span class="brand-text1">人气商品</span>
		  	  <span class="brand-img1"></span>
		  </a>
		  <div class="special-sale-banner">
		  	 <img src="/static/webAPP/del/optimization-img3.jpg" alt="">
		  </div>
		  <div class="special-sale-box3 jvhuasuan_info3">
			正在加载
		  </div>
		  <!--休闲零食结束-->
          
      </div>
      <!--bigbox结束-->
      <div class="kaola-bottom">
		<a href="/static/webAPP/index.html" class="kaola-bottom-box1">
			<span class="kaola-bottom-img1"><img src="/static/webAPP/images/home.png"></span>
			<span class="kaola-bottom-text1 text2">首页</span>
		</a>
		<a href="/static/webAPP/classify.html" class="kaola-bottom-box1">
			<span class="kaola-bottom-img1"><img src="/static/webAPP/images/search3.png"></span>
			<span class="kaola-bottom-text1">分类</span>
		</a>
		<a href="/static/webAPP/shoping-cart.html" class="kaola-bottom-box1">
			<span class="kaola-bottom-img1"><img src="/static/webAPP/images/shop-cart1.png"></span>
			<span class="kaola-bottom-text1">购物车</span>
		</a>
		<a href="/static/webAPP/personal-center.html" class="kaola-bottom-box1">
			<span class="kaola-bottom-img1"><img src="/static/webAPP/images/people1.png"></span>
			<span class="kaola-bottom-text1">我的</span>
		</a>
	</div>
</div>
<!-- <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script> -->
<script src="/static/webAPP/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="/static/webAPP/js/TouchSlide.1.1.js"></script>
<script type="text/javascript" src="/static/webAPP/js/scrolltopcontrol.js"></script>
<script>
	TouchSlide({ 
			slideCell:"#slideBox",
			titCell:".hd ul", //开启自动分页 autoPage:true ，此时设置 titCell 为导航元素包裹层
			mainCell:".bd ul", 
			effect:"leftLoop", 
			autoPage:true,//自动分页
			autoPlay:true, //自动播放
		});
</script>
<script>
	$(function(){
		$.ajax({
			type: "get",
							//TODO:
			url: "/app/commodityInfo/api/getCommodityListByLabelId/9/1/3",
			data: '',
			dataType: "json",
			success: function(mag){
				var data = mag.data
				var tag = ''
				for (let i = 0; i < data.length; i++) {
					var tag1 = '<div class="special-sale-box4"><a href="./goods-details.html?id='+ data[i].id +'"><span class="special-sale-img1"><img src="https://vm.fowotek.com/'+ data[i].picture[0].picture_url +'" alt=""></span><span class="special-sale-tbox">'+ data[i].commodityName +'</span><div class="special-sale-tbox2"></div><span class="special-sale-text2">￥'+ data[i].specifications[0].price +'</span></a></div>'
					tag += tag1
				}
				$(".jvhuasuan_info1").html(tag)
			}
		})
		
		$.ajax({
			type: "get",
							//TODO:
			url: "/app/commodityInfo/api/getCommodityListByLabelId/2/1/3",
			data: '',
			dataType: "json",
			success: function(mag){
				var data = mag.data
				var tag = ''
				for (let i = 0; i < data.length; i++) {
					var tag1 = '<div class="special-sale-box4"><a href="./goods-details.html?id='+ data[i].id +'"><span class="special-sale-img1"><img src="https://vm.fowotek.com/'+ data[i].picture[0].picture_url +'" alt=""></span><span class="special-sale-tbox">'+ data[i].commodityName +'</span><div class="special-sale-tbox2"></div><span class="special-sale-text2">￥'+ data[i].specifications[0].price +'</span></a></div>'
					
					tag += tag1
				}
				$(".jvhuasuan_info2").html(tag)
			}
		})

		$.ajax({
			type: "get",
							//TODO:
			url: "/app/commodityInfo/api/getCommodityListByLabelId/4/1/3",
			data: '',
			dataType: "json",
			success: function(mag){
				var data = mag.data
				var tag = ''
				for (let i = 0; i < data.length; i++) {
					var tag1 = '<div class="special-sale-box4"><a href="./goods-details.html?id='+ data[i].id +'"><span class="special-sale-img1"><img src="https://vm.fowotek.com/'+ data[i].picture[0].picture_url +'" alt=""></span><span class="special-sale-tbox">'+ data[i].commodityName +'</span><div class="special-sale-tbox2"></div><span class="special-sale-text2">￥'+ data[i].specifications[0].price +'</span></a></div>'
					tag += tag1
				}
				$(".jvhuasuan_info3").html(tag)
			}
		})
	})
</script>
</body>
</html>